package 设计模式.结构模式.桥接模式;

/**
 * @author MT
 * @date 2019-11-13 16:03
 */
public class 桥接模式 {

    public static void main(String[] args) {
        Shape redCircle = new Circle(100, 100, 10, new RedCircle());
        Shape greenCircle = new Circle(100, 100, 10, new GreenCircle());
        redCircle.draw();
        greenCircle.draw();
    }
}
